require 'safariwatir'

task :default => [:run_javascript]

task :run_javascript do
  browser = Watir::Safari.new
  path = File.expand_path('SpecRunner.html')
  browser.goto(path)
end